home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.modula2
- Path: cix.compulink.co.uk!usenet
- From: dcollier@cix.compulink.co.uk ("David Collier")
- Subject: Re: Modula2 for C programmers?
- Message-ID: <DMFH4L.Dtx@cix.compulink.co.uk>
- Organization: DexDyne
- References: <4etbcu$qrd@nyheter.chalmers.se>
- Date: Wed, 7 Feb 1996 22:57:57 GMT
- X-News-Software: Ameol
-
- >It is clearly safest to avoid using this extension (contamination?) and
- >to stick with the PIM case as I suggested and use VAL for the rest.
-
- I suppose so. Trouble is I came first to JPI, and never realised for AGES
- that there was anything odd about it!
-
- I think the answer is to use VAL for everything, unless you seriously
- intend to copy the bit pattern across, in which case set up variant
- records, and pass everything through them.
-
- Though as Peter Moylan points out, you can check that the SIZE of 2
- things is equivalent, in theory you can't discount a computer strong it's
- floating point values ( or anything else ) in BCD.....:-((
-
- David.
-
-
-